const express = require('express');
const router = express.Router();
const jsonRpcController = require('../controllers/jsonRpcController');

// JSON-RPC 2.0单一端点
router.post('/', (req, res) => jsonRpcController.handleRequest(req, res));

module.exports = router; 